package main

import RequestSelf "tools_self/request_self"

func main() {
	header := map[string]string{
		"test": "1222",
	}
	url := "http://www.baidu.com"
	//url := "https://www.httpbin.org/post"
	payload := map[string]string{
		"test": "payload",
	}
	requests_self := RequestSelf.Requests{
		Header:  header,
		Url:     url,
		Payload: payload,
	}

	response := requests_self.GetRequest()
	println(response.Text())
}
